Add tests for std::optional and std::unique_ptr#44
Conversation
I agree that the index would be unexpected here but we should test at least one of |
All fundamental column types are tested in The reason we might want to consider |
The question, though, is: do we test that assumption? (the assumption might be accurate (and guarantee to stay that way) for our implementation, it may not be for an alternate implementation). |
No, as discussed in January: We don't want to (and cannot) test all combinations of all fields and all column types. Note also that the goal of the validation suite is not to provide extensive unit tests for all possible implementation issues, it is specifically about the binary format. |
fe23979 to
850210c
Compare
850210c to
a438fe6
Compare
|
Discussion from the IO meeting: in the end we may want to exercise all |
On second thought, that's not a great idea because if we do this consequently, we would only have split encodings inside collections of split index encodings. Let's go with the originally agreed approach to assume separation of column encodings. |
a438fe6 to
50724ef
Compare
std::optional(closes Test forstd::optional#15)std::unique_ptr(closes Test forstd::unique_ptr#16)I think that it's not really needed to test all
[Split]Index{32,64}column types for these; let me know if you disagree.